home *** CD-ROM | disk | FTP | other *** search
-
-
-
- ssssuuuubbbbssss((((3333)))) ssssuuuubbbbssss((((3333))))
-
-
-
- NNNNAAAAMMMMEEEE
- subs - Perl pragma to predeclare sub names
-
- SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
- use subs qw(frob);
- frob 3..10;
-
-
- DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
- This will predeclare all the subroutine whose names are in the list,
- allowing you to use them without parentheses even before they're
- declared.
-
- Unlike pragmas that affect the $^H hints variable, the use vars and use
- subs declarations are not BLOCK-scoped. They are thus effective for the
- entire file in which they appear. You may not rescind such declarations
- with no vars or no subs.
-
- See the section on _P_r_a_g_m_a_t_i_c _M_o_d_u_l_e_s in the _p_e_r_l_m_o_d manpage and the
- section on _s_t_r_i_c_t _s_u_b_s in the _s_t_r_i_c_t manpage.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- PPPPaaaaggggeeee 1111
-
-
-
-